@echo off
chcp 65001 >nul
echo 启动 Yu AI Agent 后端服务...
echo.

cd /d "%~dp0"

set JAVA_OPTS=-Dfile.encoding=UTF-8 -Dconsole.encoding=UTF-8 -Duser.timezone=Asia/Shanghai

echo 正在启动Spring Boot应用...
mvn spring-boot:run -Dspring-boot.run.jvmArguments="%JAVA_OPTS%"

pause
